package com.wing.cms.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "cms_channel")
public class Channel {
	public static String CHANNELROOT = "ROOT";

	@Id
	@Column(name = "id")
	private String id;
	@Column(name = "pid")
	private String pid;
	@Column(name = "site_id")
	private String site_id;
	@Column(name = "channel_name")
	private String channel_name;
	@Column(name = "lookandfeel")
	private String lookandfeel;
	@Column(name = "layout")
	private String layout;
	@Column(name = "order_num")
	private int order_num;
	@Column(name = "valid_flag")
	private int valid_flag;
	@Column(name = "remarks")
	private String remarks;
	@Column(name = "status")
	private int status;
	@Column(name = "ispub")
	private int ispub;

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return this.id;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getPid() {
		return this.pid;
	}

	public void setSite_id(String site_id) {
		this.site_id = site_id;
	}

	public String getSite_id() {
		return this.site_id;
	}

	public void setChannel_name(String channel_name) {
		this.channel_name = channel_name;
	}

	public String getChannel_name() {
		return this.channel_name;
	}

	public void setLookandfeel(String lookandfeel) {
		this.lookandfeel = lookandfeel;
	}

	public String getLookandfeel() {
		return this.lookandfeel;
	}

	public void setLayout(String layout) {
		this.layout = layout;
	}

	public String getLayout() {
		return this.layout;
	}

	public void setOrder_num(int order_num) {
		this.order_num = order_num;
	}

	public int getOrder_num() {
		return this.order_num;
	}

	public void setValid_flag(int valid_flag) {
		this.valid_flag = valid_flag;
	}

	public int getValid_flag() {
		return this.valid_flag;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getStatus() {
		return this.status;
	}

	public int getIspub() {
		return ispub;
	}

	public void setIspub(int ispub) {
		this.ispub = ispub;
	}

}
